﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace sieuthi.Threelayer.VO
{
    public class loginVO
    {
        public string Name { get; set; }
        public string Password { get; set; }
        public VO.loginVO loginIDataReader(IDataReader dr)
        {
            VO.loginVO obj = new loginVO();
            obj.Name = (dr["Name"] is DBNull) ? string.Empty : dr["Name"].ToString();
            obj.Password = (dr["Password"] is DBNull) ? string.Empty : dr["Password"].ToString();
            return obj;
        }
    }
}
